package com.qujia.station.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class CardBatch implements Serializable {
    private Long id;

    @ApiModelProperty("批次号")
    private String batchNo;

    @ApiModelProperty("卡类型")
    private String batchType;

    @ApiModelProperty("发卡数量")
    private Integer cardNum;

    @ApiModelProperty("起始卡序号")
    private Integer writeNum;

    @ApiModelProperty("成功写入数量")
    private Integer totalNum;

    @ApiModelProperty("是否删除，0：未删除；1：已删除")
    private String isDeleted;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "油企id")
    private Long enterpriseId;

    @ApiModelProperty(value = "油企名")
    private String enterpriseName;

    @ApiModelProperty(value = "油站id")
    private String stationId;

    @ApiModelProperty(value = "油站名称")
    private String stationName;

    @ApiModelProperty(value = "实体卡类型，czk : 储值卡，dek：定额卡")
    private String physicalCardType;

    @ApiModelProperty(value = "定额卡面额")
    private BigDecimal physicalCardAmount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo ;
    }

    public String getBatchType() {
        return batchType;
    }

    public void setBatchType(String batchType) {
        this.batchType = batchType == null ? null : batchType.trim();
    }

    public Integer getCardNum() {
        return cardNum;
    }

    public void setCardNum(Integer cardNum) {
        this.cardNum = cardNum;
    }

    public Integer getWriteNum() {
        return writeNum;
    }

    public void setWriteNum(Integer writeNum) {
        this.writeNum = writeNum;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted == null ? null : isDeleted.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getStationId() {
        return stationId;
    }

    public void setStationId(String stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getPhysicalCardType() {
        return physicalCardType;
    }

    public void setPhysicalCardType(String physicalCardType) {
        this.physicalCardType = physicalCardType;
    }

    public BigDecimal getPhysicalCardAmount() {
        return physicalCardAmount;
    }

    public void setPhysicalCardAmount(BigDecimal physicalCardAmount) {
        this.physicalCardAmount = physicalCardAmount;
    }
}